<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="zh">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.5"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SWM34S_LVGL7.11_SWMUI: WAV_INFO结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SWM34S_LVGL7.11_SWMUI<span id="projectnumber">&#160;V7.9</span>
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.5 -->
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-attribs">成员变量</a>  </div>
  <div class="headertitle"><div class="title">WAV_INFO结构体 参考</div></div>
</div><!--header-->
<div class="contents">

<p>wav 播放控制结构体  
 <a href="struct_w_a_v___i_n_f_o.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="wav__parser_8h_source.html">wav_parser.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-attribs" name="pub-attribs"></a>
成员变量</h2></td></tr>
<tr class="memitem:a261fa2bf32f81cfbe9618eef33f1fcff"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a261fa2bf32f81cfbe9618eef33f1fcff">audioformat</a></td></tr>
<tr class="memdesc:a261fa2bf32f81cfbe9618eef33f1fcff"><td class="mdescLeft">&#160;</td><td class="mdescRight">音频格式;0X01,表示线性PCM;0X11表示IMA ADPCM  <a href="struct_w_a_v___i_n_f_o.html#a261fa2bf32f81cfbe9618eef33f1fcff">更多...</a><br /></td></tr>
<tr class="separator:a261fa2bf32f81cfbe9618eef33f1fcff"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a217de89eba97c241e226145538b73a6c"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a217de89eba97c241e226145538b73a6c">nchannels</a></td></tr>
<tr class="memdesc:a217de89eba97c241e226145538b73a6c"><td class="mdescLeft">&#160;</td><td class="mdescRight">通道数量;1,表示单声道;2,表示双声道;  <a href="struct_w_a_v___i_n_f_o.html#a217de89eba97c241e226145538b73a6c">更多...</a><br /></td></tr>
<tr class="separator:a217de89eba97c241e226145538b73a6c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a664f4494c5d2183e1f5b32f6e39588da"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a664f4494c5d2183e1f5b32f6e39588da">blockalign</a></td></tr>
<tr class="memdesc:a664f4494c5d2183e1f5b32f6e39588da"><td class="mdescLeft">&#160;</td><td class="mdescRight">块对齐(字节);  <a href="struct_w_a_v___i_n_f_o.html#a664f4494c5d2183e1f5b32f6e39588da">更多...</a><br /></td></tr>
<tr class="separator:a664f4494c5d2183e1f5b32f6e39588da"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7e1a0ea769d8bcfeb3ac0cdc17a20810"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a7e1a0ea769d8bcfeb3ac0cdc17a20810">datasize</a></td></tr>
<tr class="memdesc:a7e1a0ea769d8bcfeb3ac0cdc17a20810"><td class="mdescLeft">&#160;</td><td class="mdescRight">WAV数据大小  <a href="struct_w_a_v___i_n_f_o.html#a7e1a0ea769d8bcfeb3ac0cdc17a20810">更多...</a><br /></td></tr>
<tr class="separator:a7e1a0ea769d8bcfeb3ac0cdc17a20810"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6e56989ffc1326f9f083e05621caee97"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a6e56989ffc1326f9f083e05621caee97">totsec</a></td></tr>
<tr class="memdesc:a6e56989ffc1326f9f083e05621caee97"><td class="mdescLeft">&#160;</td><td class="mdescRight">整首歌时长,单位:秒  <a href="struct_w_a_v___i_n_f_o.html#a6e56989ffc1326f9f083e05621caee97">更多...</a><br /></td></tr>
<tr class="separator:a6e56989ffc1326f9f083e05621caee97"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a365f02072d2fc59253116cf24577f1a6"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a365f02072d2fc59253116cf24577f1a6">cursec</a></td></tr>
<tr class="memdesc:a365f02072d2fc59253116cf24577f1a6"><td class="mdescLeft">&#160;</td><td class="mdescRight">当前播放时长  <a href="struct_w_a_v___i_n_f_o.html#a365f02072d2fc59253116cf24577f1a6">更多...</a><br /></td></tr>
<tr class="separator:a365f02072d2fc59253116cf24577f1a6"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a32678c62007e0748dae550bd1007a07d"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a32678c62007e0748dae550bd1007a07d">bitrate</a></td></tr>
<tr class="memdesc:a32678c62007e0748dae550bd1007a07d"><td class="mdescLeft">&#160;</td><td class="mdescRight">比特率(位速)  <a href="struct_w_a_v___i_n_f_o.html#a32678c62007e0748dae550bd1007a07d">更多...</a><br /></td></tr>
<tr class="separator:a32678c62007e0748dae550bd1007a07d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a370f2f23a5016862b7862b5e90f90842"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a370f2f23a5016862b7862b5e90f90842">samplerate</a></td></tr>
<tr class="memdesc:a370f2f23a5016862b7862b5e90f90842"><td class="mdescLeft">&#160;</td><td class="mdescRight">采样率  <a href="struct_w_a_v___i_n_f_o.html#a370f2f23a5016862b7862b5e90f90842">更多...</a><br /></td></tr>
<tr class="separator:a370f2f23a5016862b7862b5e90f90842"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a00ede19d29442e4c386d7bcc1f22a014"><td class="memItemLeft" align="right" valign="top">uint16_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#a00ede19d29442e4c386d7bcc1f22a014">bps</a></td></tr>
<tr class="memdesc:a00ede19d29442e4c386d7bcc1f22a014"><td class="mdescLeft">&#160;</td><td class="mdescRight">位数,比如16bit,24bit,32bit  <a href="struct_w_a_v___i_n_f_o.html#a00ede19d29442e4c386d7bcc1f22a014">更多...</a><br /></td></tr>
<tr class="separator:a00ede19d29442e4c386d7bcc1f22a014"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad724f0361ba01c7bfb66c62592612538"><td class="memItemLeft" align="right" valign="top">uint32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_w_a_v___i_n_f_o.html#ad724f0361ba01c7bfb66c62592612538">datastart</a></td></tr>
<tr class="memdesc:ad724f0361ba01c7bfb66c62592612538"><td class="mdescLeft">&#160;</td><td class="mdescRight">数据帧开始的位置(在文件里面的偏移)  <a href="struct_w_a_v___i_n_f_o.html#ad724f0361ba01c7bfb66c62592612538">更多...</a><br /></td></tr>
<tr class="separator:ad724f0361ba01c7bfb66c62592612538"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >wav 播放控制结构体 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00076">76</a> 行定义.</p>
</div><h2 class="groupheader">结构体成员变量说明</h2>
<a id="a261fa2bf32f81cfbe9618eef33f1fcff" name="a261fa2bf32f81cfbe9618eef33f1fcff"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a261fa2bf32f81cfbe9618eef33f1fcff">&#9670;&#160;</a></span>audioformat</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t audioformat</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>音频格式;0X01,表示线性PCM;0X11表示IMA ADPCM </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00078">78</a> 行定义.</p>

</div>
</div>
<a id="a217de89eba97c241e226145538b73a6c" name="a217de89eba97c241e226145538b73a6c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a217de89eba97c241e226145538b73a6c">&#9670;&#160;</a></span>nchannels</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t nchannels</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>通道数量;1,表示单声道;2,表示双声道; </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00079">79</a> 行定义.</p>

</div>
</div>
<a id="a664f4494c5d2183e1f5b32f6e39588da" name="a664f4494c5d2183e1f5b32f6e39588da"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a664f4494c5d2183e1f5b32f6e39588da">&#9670;&#160;</a></span>blockalign</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t blockalign</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>块对齐(字节); </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00080">80</a> 行定义.</p>

</div>
</div>
<a id="a7e1a0ea769d8bcfeb3ac0cdc17a20810" name="a7e1a0ea769d8bcfeb3ac0cdc17a20810"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7e1a0ea769d8bcfeb3ac0cdc17a20810">&#9670;&#160;</a></span>datasize</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t datasize</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>WAV数据大小 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00081">81</a> 行定义.</p>

</div>
</div>
<a id="a6e56989ffc1326f9f083e05621caee97" name="a6e56989ffc1326f9f083e05621caee97"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a6e56989ffc1326f9f083e05621caee97">&#9670;&#160;</a></span>totsec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t totsec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>整首歌时长,单位:秒 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00083">83</a> 行定义.</p>

</div>
</div>
<a id="a365f02072d2fc59253116cf24577f1a6" name="a365f02072d2fc59253116cf24577f1a6"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a365f02072d2fc59253116cf24577f1a6">&#9670;&#160;</a></span>cursec</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t cursec</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>当前播放时长 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00084">84</a> 行定义.</p>

</div>
</div>
<a id="a32678c62007e0748dae550bd1007a07d" name="a32678c62007e0748dae550bd1007a07d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a32678c62007e0748dae550bd1007a07d">&#9670;&#160;</a></span>bitrate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t bitrate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>比特率(位速) </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00086">86</a> 行定义.</p>

</div>
</div>
<a id="a370f2f23a5016862b7862b5e90f90842" name="a370f2f23a5016862b7862b5e90f90842"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a370f2f23a5016862b7862b5e90f90842">&#9670;&#160;</a></span>samplerate</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t samplerate</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>采样率 </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<a id="a00ede19d29442e4c386d7bcc1f22a014" name="a00ede19d29442e4c386d7bcc1f22a014"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a00ede19d29442e4c386d7bcc1f22a014">&#9670;&#160;</a></span>bps</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint16_t bps</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>位数,比如16bit,24bit,32bit </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00088">88</a> 行定义.</p>

</div>
</div>
<a id="ad724f0361ba01c7bfb66c62592612538" name="ad724f0361ba01c7bfb66c62592612538"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad724f0361ba01c7bfb66c62592612538">&#9670;&#160;</a></span>datastart</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">uint32_t datastart</td>
        </tr>
      </table>
</div><div class="memdoc">

<p>数据帧开始的位置(在文件里面的偏移) </p>

<p class="definition">在文件 <a class="el" href="wav__parser_8h_source.html">wav_parser.h</a> 第 <a class="el" href="wav__parser_8h_source.html#l00090">90</a> 行定义.</p>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.5
</small></address>
</body>
</html>
